package com.xhapi.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 由知识库提供的单选题
 * </p>
 *
 * @author 179005
 * @since 2024-06-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("choice_questions_by_ai")
@ApiModel(value="ChoiceQuestionsByAi对象", description="由知识库提供的单选题")
public class ChoiceQuestionsByAi implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)

    private Integer id;

    @ApiModelProperty(value = "题目")
    private String question;

    @ApiModelProperty(value = "难度")
    private String difficulty;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "解析")
    private String analysis;

    @ApiModelProperty(value = "相关知识点")
    private String knowledgePoint;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "创建人")
    private Integer createUser;

    @ApiModelProperty(value = "判断该题上一次作答是否正确，正确为1，错误为0，未作答为-1")
    private Integer status;
}
